import {
	request
} from './index.js'


//获取openid
export function jsCodeByOpenid(params,method='GET') {
	return request({
		url: '/sys/getAppletInfo',
		method:method,
		data: params
	})
} 
//查询用户信息
export function getUserInfo(params,method='GET') {
	return request({
		url: '/weixin/weixinUserinfo/getUserInfo',
		method:method,
		data: params
	})
}  

/* 更新用户信息*/
export function updateUser(params,method='POST') {
	return request({
		url: '/sys/updateAppletInfo',
		method:method,
		data: params
	})
} 

